package com.tmall.wireless.virtualviewdemo;

import com.tmall.wireless.vaf.virtualview.Helper.NativeViewManager;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * @时间：
 * @描述：
 **/
public class NativeViewManagerTest {
    NativeViewManager nativeViewManager = new NativeViewManager();

    @Test
    public void register() {
        nativeViewManager.register("", String.class);
        nativeViewManager.register("test", String.class);
        nativeViewManager.register(null, String.class);
        nativeViewManager.register("test", null);
    }

    @Test
    public void unregister() {
        nativeViewManager.unregister("", String.class);
        nativeViewManager.unregister("test", String.class);
        nativeViewManager.unregister(null, String.class);
        nativeViewManager.unregister("test", null);
    }
}